import React, { Component } from 'react'
import music from "../../JSON/qqy.json"
import "./Home.css"

export default class Home extends Component {
    render() {
        return (
            <div className="qqx">
                <div className="new">
                    <h2>新碟首发</h2>
                </div>
                <div className="listwrap">
                    <ul>
                        {
                            music.map((item, index) => {
                                return <li key={item.singer_id}>
                                    <img src={item.pic} title={item.name} className="music" alt="" />
                                    <div>{item.name}</div>
                                    <div className="author">{item.playlist__author}</div>
                                    <div className="time">{item.playlist__other}</div>
                                </li>
                            })
                        }
                    </ul>
                </div>
            </div>
        )
    }
}
